package com.lvcoding.sec3.secdemo3.validatecode.sms;

import com.lvcoding.sec3.secdemo3.validatecode.parent.SmsCodeSender;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class AlibabaSmsCodeConfig {

    /**
     * 阿里巴巴短信发送服务
     * @return
     */
    @Bean
    public SmsCodeSender smsCodeSender() {
        return new AlibabaSmsCodeSender();
    }
}
